<?php 
	$this->pageTitle=Yii::app()->name . ' - Login';
	$LabelHtmlOption = array('style'=>'margin-top:10px;');
	$TextFieldHtmlOption = array('style'=>'font-size:16pt;');
?>

<div style='position:relative;margin:120px auto 20px auto;width:300px;padding:30px 100px;border:1px solid #DDD;border-radius:15px;background-color:#FFF;'>
	<div style='position:absolute;top:-20px;right:30px;font-size:0.8em;'>
		<?php echo CHtml::link('AWT member registration','site/signup/') ?>
	</div>
	<div style='height:10px'></div>
<h2><?php echo CHtml::encode($this->PageTitle); ?></h2>
<div class='describe'>Antioch Worship Team Resources</div>
<div style='height:10px'></div>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'email',$LabelHtmlOption); ?>
		<?php echo $form->textField($model,'email',array('style'=>'font-size:16pt;','class'=>'autofocus')); ?>
		<?php echo $form->error($model,'email'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'pwd',$LabelHtmlOption); ?>
		<?php echo $form->passwordField($model,'pwd',$TextFieldHtmlOption); ?>
		<?php echo $form->error($model,'pwd'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::tag('button',array('class'=>'bt3','style'=>'margin-top:20px;'),'login'); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
</div>

